package com.anolesoft.yr.store.stk.dao;

import com.anolesoft.yr.store.stk.entity.StkType;
import com.anolesoft.yr.store.stk.entity.StkTypeExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StkTypeDao extends BaseMapper<StkType> {
    long countByExample(StkTypeExample example);

    int deleteByExample(StkTypeExample example);

    List<StkType> selectByExample(StkTypeExample example);

    int updateByExampleSelective(@Param("record") StkType record, @Param("example") StkTypeExample example);

    int updateByExample(@Param("record") StkType record, @Param("example") StkTypeExample example);

    int updateBatch(List<StkType> list);

    int updateBatchSelective(List<StkType> list);

    int batchInsert(@Param("list") List<StkType> list);

    int insertOrUpdate(StkType record);

    int insertOrUpdateSelective(StkType record);
}